/* 首页的css文件 */
*{
    margin: 0;
    padding: 0;
    /* background: #F8F8F8; */
}
.search-box{
    width: 92%;
    display: flex;
    margin-left: 4%;
    margin-top: 2%;
    border: #E0AF75 solid 1px;
    border-radius: 60px;
    position: relative;
    background-color: white;
}
.search-icon{
    width: 20%;
    height: 100%;
    right: 0%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    background-color: #E0AF75;
    color: white;
    border-radius: 60px;
    position: absolute;
}


/* 轮播图 */
.banner-box{
    width: 96%;
    margin-left: 2%;
    margin-top: 4%;
    border-radius: 10px;
}
.content{
    .content {
  height: 120px;
  color: #ffffff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 48px;
  user-select: none;
    background-color: white;

}
}

/* 图标部分 */
.icon-box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px 10px;
    background-color: white;
}

.icon-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 25%;
    margin-bottom: 15px;
    background-color: white;

}

.icon-item img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    margin-bottom: 5px;
}

.icon-item span {
    font-size: 12px;
    text-align: center;
    color: #333;
}

/* 榜单 */
.rank-box{
    width: 100%;
    height: 260px;
    margin-top: 14px;
    background-color: white;
    padding-top: 3%;
    >.title{
        width: 96%;
        height: 40px;
        margin-left: 2%;
        border-top-left-radius: 20px;
        border-top-right-radius: 20px;
        display: flex;
        align-items: center;
        background-color: #F7E6CB;
        >img{
            margin-left: 3% ;
            width: 30px;
        }
        >.more{
            width: 18%;
            height: 32px;
            background: white;
            border-radius: 20px;
            display: flex;
            justify-content: center;
            align-items: center;
            margin-left: 52%;
            font-size: 15px;
        }
    }
}
.rank-content{
    width: 96%;
    margin-left: 2%;
    margin-top: 2%;
}

.rank-item{
    width: 96%;
    >img{
        width: 100%;
        height: 140px;
    }
    .rank-item-text {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    .rank-item-title{
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .rank-item-price{
        color: red;
    }
}


/* 猜你喜欢标签分类 */
.guesslike-title{
    width: 100%;
    margin-top: 10px;
    background-color: white;
}

/* 瀑布流布局 */
.waterfall-container {
    display: flex;
    justify-content: space-between;
    padding: 10px;
    background-color: white;
}

.waterfall-column {
    width: 48%;
    display: flex;
    flex-direction: column;
}

.waterfall-item {
    margin-bottom: 10px;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
    position: relative;
}

.waterfall-item img {
    width: 100%;
    height: auto;
    display: block;
}

.waterfall-item-title {
    padding: 8px;
    font-size: 14px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.waterfall-item-price {
    padding: 0 8px 8px;
    font-size: 16px;
    font-weight: bold;
    color: #ff4757;
}

